package tutor.mgl;

import android.app.Activity;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class menu extends Activity implements OnClickListener{
	
	MediaPlayer mpButtonClick;
	
	/** Called when the activity is first created. */
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        mpButtonClick = MediaPlayer.create(this, R.raw.button_click);
        
        Button btnTutorial1 = (Button) findViewById(R.id.tutorial1);
        btnTutorial1.setOnClickListener(this);
        Button btnTutorial2 = (Button) findViewById(R.id.tutorial2);
    }

	public void onClick(View v) {
		// TODO Auto-generated method stub
		startActivity(new Intent("tutor.mgl.TUTORIALONE"));
		mpButtonClick.start();
		
	}
}
